package cn.edu.zjicm.wordsnet_d.data;

import android.database.Cursor;

public class School {
	int id;
	String schoolName;
	int studentCount;
	int schoolLevel;
	int provinceId;
	int cityId;
	int regionId;	
	String gmtCreate;
	String gmtModified;

	public School(int id, String schoolName, int studentCount, int schoolLevel,
			int provinceId, int cityId, int regionId, String gmtCreate,
			String gmtModified) {
		super();
		this.id = id;
		this.schoolName = schoolName;
		this.studentCount = studentCount;
		this.schoolLevel = schoolLevel;
		this.provinceId = provinceId;
		this.cityId = cityId;
		this.regionId = regionId;
		this.gmtCreate = gmtCreate;
		this.gmtModified = gmtModified;
	}

	public School(Cursor c) {
		this(c.getInt(0), c.getString(1), c.getInt(2), c.getInt(3), c.getInt(4), c.getInt(5), c.getInt(6), c.getString(7), c.getString(8));
	}
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}

	public int getStudentCount() {
		return studentCount;
	}

	public void setStudentCount(int studentCount) {
		this.studentCount = studentCount;
	}

	public int getSchoolLevel() {
		return schoolLevel;
	}

	public void setSchoolLevel(int schoolLevel) {
		this.schoolLevel = schoolLevel;
	}

	public int getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(int provinceId) {
		this.provinceId = provinceId;
	}

	public int getCityId() {
		return cityId;
	}

	public void setCityId(int cityId) {
		this.cityId = cityId;
	}

	public int getRegionId() {
		return regionId;
	}

	public void setRegionId(int regionId) {
		this.regionId = regionId;
	}

	public String getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(String gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public String getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(String gmtModified) {
		this.gmtModified = gmtModified;
	}
	
}
